export default {
    setStorage(key, value) {
        let valueStr = JSON.stringify(value)
        sessionStorage.setItem(key, valueStr)
    },
    getStorage(key) {
        return JSON.parse(sessionStorage.getItem(key))
    }
}